<?php
namespace Home\Controller;
use Think\Controller;
class CodeController extends Controller {
	//验证码
	public function index(){
		ob_clean();
		$Verify = new \Think\Verify();
    	$Verify->fontSize = 18;
    	$Verify->length   = 4;
    	$Verify->useNoise = false;
    	$Verify->codeSet = '0123456789';
   		$Verify->imageW = 130;
   		$Verify->imageH = 50;
   		//$Verify->expire = 600;
   		$Verify->entry();
    }
}